**************
*Replication Script for "The Catch-22 of Women's Candidacies: Evidence from Afghanistan"
*Victoria Stratton, Thorin Wright, and Magda Hinojosa
*Journal of Women, Politics, and Policy, 2025
***************

clear

use "StrattonWrightHinojosa2025.dta"


*************
*Table 1 
*************
*Model 1
reg adjpercfem lcdyb lbattleyb adjfemaleemployment km, robust

*Model 2
reg adjpercfem lcdyb lbattleyb adjfemaleemployment km skilledbirth urbanperc, robust

*Model 3
reg adjpercfem lcdyb lbattleyb adjfemaleemployment km skilledbirth urbanperc q3_oc GOAperc, robust

*************
*Figure 1
*************

*Based on Table 1, Model 2 

reg adjpercfem lcdyb lbattleyb adjfemaleemployment km skilledbirth urbanperc, robust

quietly margins, at ( lcdyb =(0.00(0.05)6) lbattleyb adjfemaleemployment skilledbirth urbanperc km  ) atmeans noatlegen 

marginsplot

**************
*Table 2
**************

*Model 4
nbreg candidates lcdyb lbattleyb seats adjfemaleemployment km, robust

*Model 5
nbreg candidates lcdyb lbattleyb seats adjfemaleemployment km skilledbirth urbanperc, robust

*Model 6
nbreg candidates lcdyb lbattleyb seats adjfemaleemployment km skilledbirth urbanperc q3_oc GOAperc, robust


**Robustness Checks

*Count Models of women candidates

nbreg femcandidates lcdyb lbattleyb femaleemployment candidates reservedseats seats kabul km urbanperc skilledbirth , robust

nbreg femcandidates lcdyb lbattleyb femaleemployment candidates reservedseats seats kabul km urbanperc skilledbirth q3_oc GOAperc  , robust


*Main models with 2 year cumulative deaths

reg adjpercfem lcdty lbattle adjfemaleemployment km, robust

reg adjpercfem lcdty lbattle adjfemaleemployment km skilledbirth urbanperc, robust

reg adjpercfem lcdty lbattle adjfemaleemployment km skilledbirth, robust



